﻿using System.Linq;
using good1.Core;

namespace good1.ApplicationServices.Interface
{
    public interface ILocationService<T> where T : Location
    {
        T Get(int id);
        void SaveOrUpdate(Location project);
        string Delete(int id);
        void RollbackTransaction();
        T GetCreation();
        IQueryable<Location> GetAllSorted();
        Country GetCountry(int id );
        Map GetMapsByLocationId(int id);
    }
}
